package com.go4thx.util;

import java.awt.Color;

public class Constant {
	public static String[] dd = {
		Duty.BAIBAN1.title,
		Duty.BAIBAN2.title,
		Duty.DAFUBAN.title,
		Duty.XIAOFUBAN.title,
		Duty.HOUYE1.title,
		Duty.HOUYE2.title,
		Duty.DAXIU.title,
		Duty.TOUYE1.title,
		Duty.TOUYE2.title,
		Duty.XIAOXIU.title
	};
	public enum Duty{
		BAIBAN1(1, new Color(255, 255, 255), "白班"),
		BAIBAN2(2, new Color(255, 255, 255), "白班"),
		DAFUBAN(3, new Color(255, 255, 255), "大副班"),
		XIAOFUBAN(4, new Color(255, 255, 255), "小副班"),
		HOUYE1(5, new Color(255, 255, 255), "后夜"),
		HOUYE2(6, new Color(255, 255, 255), "后夜"),
		DAXIU(6, new Color(255, 255, 255), "大休"),
		TOUYE1(7, new Color(255, 255, 255), "头夜"),
		TOUYE2(8, new Color(255, 255, 255), "头夜"),
		XIAOXIU(0, new Color(255, 255, 255), "小休");
		
		private int index;
		private Color color;
		private String title;
		
		private Duty(int index, Color color, String title) {
			this.index = index;
			this.color = color;
			this.title = title;
		}

		public int getIndex() {
			return index;
		}

		public void setIndex(int index) {
			this.index = index;
		}

		public Color getColor() {
			return color;
		}

		public void setColor(Color color) {
			this.color = color;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}
	}
}

